﻿using Games.Common;
using Games.Data;

namespace Games.HuaRongDao
{
    class HrdRecord : GameRecords
    {
        public string Name { get; set; }
        public int Step { get; set; }
        public int MinStep { get; set; }

        public override Record Convert()
        {
            return new Record
            {
                Level = Utils.GetLevel(MinStep, Step),
                Message = $"{Name} - {Step} 步，用时 {Utils.FormatTime((int)Duration)}",
                TimeString = CreateTime.ToString("yyyy-MM-dd HH:mm")
            };
        }
    }
}
